package com.gedi.springcloud;

import org.springframework.boot.WebApplicationType;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.builder.SpringApplicationBuilder;
import org.springframework.cloud.netflix.eureka.server.EnableEurekaServer;

/**
 * @Author:RenPu
 * @Date: 2020/8/20 14:04
 * @Version: 1.0
 * @description:
 */

@SpringBootApplication
@EnableEurekaServer
public class EurekaServerMain {

    public static void main(String[] args) {
        new SpringApplicationBuilder(EurekaServerMain.class)
                .web(WebApplicationType.SERVLET)
                .run(args);
    }

}
